To add redaction xml to sample.doc, call the following from a batch job:
http://localhost:18680/convert2swf?source=c:\ProjectEnterpriseAnnotations\sample.doc&target=c:\tempcache\redacted_sample.pdf&redaction=c:\ ProjectEnterpriseAnnotations\markups\test.xml
or
http://localhost:18680/convert2swf?source=/var/www/html/ samplecode-enterprise/sample.doc&target=/var/www/html/ samplecode-enterprise /temp/redacted_sample.pdf&redaction=/var/www/html/ samplecode-enterprise \markups\test.xml
where test.xml is the created xml containing redaction.